How to use grouping sets in SQL Server

join shbcf.ru